package com.xzit.rental.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzit.rental.vo.FinanceCostVo;
import com.xzit.rental.vo.FinanceNumDayVo;
import com.xzit.rental.vo.FinanceNumMonthVo;

import java.time.LocalDate;
import java.util.List;

public interface FinanceMapper extends BaseMapper<FinanceNumDayVo> {

    List<FinanceNumDayVo> countDayRental();

    List<FinanceNumDayVo> countDayReturn();

    FinanceCostVo sumRentPayable();

    Integer sumDeposit();

    List<FinanceNumMonthVo> countMonthRental();

    List<FinanceNumMonthVo> countMonthReturn();

    FinanceCostVo sumRentPayableMonth();

    Integer sumDepositMonth();

}

